#!/usr/bin/perl
package GlobalConfig;
use warnings;
use strict;

use Exporter qw(import);
our @EXPORT=qw($config);

our $config= {
  'debug'                           => 1,
  "tc_timeout"                      => 5,                      #in seconds
  "log_folder"                      => "$ENV{HOME}/tmp/log",
  "total_log"                       => "total.log",            #total log file name.
  'log_sep'                         => '=' x 70,
  'log_mark'                        => '*' x 20,
  'open_tc_log_monitor'             => 1,
  'tc_log_monitor_retain_time'      => 15,                       #in seconds

  'tc_status'                       =>{
                                        'passed'=>'Test case is OK',
                                        'failed'=>'Test case is failed',
                                        'not_started'=>'Test case is not even started',
                                        'timeout'=>'Test case is timeout',
                                      },
  'log_tag_tc_status'               => "TC_STATUS:",
  'log_tag_sys_log'                 => "SYS_LOG",
  'log_tag_exec_time'               => "EXECUTION_TIME:",
  'log_tag_unknown_suite'           => "UNKNOWN_SUITE",
  'log_tag_start_tc'                => "START_TC_TAG",
  'log_tag_end_tc'                  => "END_TC_TAG",
  'log_tag_start_ts'                => "START_TS_TAG",
  'log_tag_end_ts'                  => "END_TS_TAG",
  'enable_tc_status_alert'          => 1,
  'alert_cmd'                       => "notify-send --urgency=low -t 3000",
  
  
#   'color_log_prompt'                =>"\e[38;0;249m",
  'color_log_prompt'                =>"\e[36m\e[40m",   #cyan on black
  'color_log_profile_prompt'        =>"\e[32m\e[40m",   #green on black
  'color_sys_log_prompt'            =>"\e[33m\e[40m",   #yellow on black
  'color_reset'                     =>"\e[0m",
  'color_log_pass'                  =>"\e[30m\e[42m",   # magenta on green
  'color_log_fail'                  =>"\e[30m\e[41m",   # magenta on red
  
  
  
  'DUMMY'               => "DUMMY"
};
